package com.net.xpay.common.dao;

import com.net.xpay.common.domain.UserBusinessAuth;
import com.net.common.dao.Page;
import com.net.common.dao.PagedMapper;
import com.net.common.annotation.DataCommon;
import com.net.xpay.core.model.AdminUserBusinesAuthSearchModel;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@DataCommon
@Repository
public interface UserBusinessAuthMapper extends PagedMapper<Long, UserBusinessAuth> {
    List<UserBusinessAuth> search(@Param("searchModel") AdminUserBusinesAuthSearchModel searchModel,@Param("page") Page page);

    long searchCount(@Param("searchModel")AdminUserBusinesAuthSearchModel searchModel);

    List<UserBusinessAuth> list(@Param("searchModel")AdminUserBusinesAuthSearchModel searchModel);
}
